 

	window._bd_share_config = {
		"common" : {
			"bdSnsKey" :{},
			"bdText" : '',
			"bdDesc" : '',
			"bdUrl" : '',
			"bdPic" : '',
			"bdSign" : 'normal',
		},
		share : [{
			"bdSize" : 32
		}]
	};
	with(document)0[(getElementsByTagName('head')[0]||body).appendChild(createElement('script')).src='http://bdimg.share.baidu.com/static/api/js/share.js?cdnversion='+~(-new Date()/36e5)];

  

	function is_weixin() {
	    var ua = navigator.userAgent.toLowerCase();
	    if (ua.match(/MicroMessenger/i) == "micromessenger") {
	        return true;
	    } else if (ua.match(/QQ/i) == "qq") { 
	        return false;
	    } else {
	    	return false;
	    }
	}
	var isWeixin = is_weixin();
	var winHeight = typeof window.innerHeight != 'undefined' ? window.innerHeight : document.documentElement.clientHeight;
	function loadHtml(){
		var div = document.createElement('div');
		div.id = 'weixin-tip';
		div.innerHTML = '<p><img src="{$feifeicms.path_tpl}/images/live_weixin.png" alt="微信打开"/></p><span class="jixu" onclick="document.getElementById(\'weixin-tip\').style.display=\'none\';">关闭提示，继续浏览</span>';
		document.body.appendChild(div);
	}
	
	function loadStyleText(cssText) {
        var style = document.createElement('style');
        style.rel = 'stylesheet';
        style.type = 'text/css';
        try {
            style.appendChild(document.createTextNode(cssText));
        } catch (e) {
            style.styleSheet.cssText = cssText; /*ie9以下*/
        }
        var head=document.getElementsByTagName("head")[0]; /*head标签之间加上style样式*/
        head.appendChild(style); 
    }
    var cssText = "#weixin-tip{position: fixed; left:0; top:0; background: rgba(0,0,0,0.8); filter:alpha(opacity=80); width: 100%; height:100%; z-index: 999;text-align:center;} #weixin-tip p{text-align: center; margin-top: 10%; padding:0 5%;} #weixin-tip p img{width:100%;} #weixin-tip .jixu{display:inline-block;position:relative;z-index:100;height:30px;line-height:30px;font-size:14px;color:#ccc;border:1px solid #ccc;padding:0 10px;}";
	if(isWeixin){
		loadHtml();
		loadStyleText(cssText);
	}

  
var feifeicms={"path":"__ROOT__","mid":"{$feifeicms['mid']}","url":"{$feifeicms['site_url']}","wapurl":"{$feifeicms['site_wapurl']}","mob_status":"{$feifeicms['mob_status']}","auto_collect":"{$GLOBALS['config']['extra']['auto_collect']}","auto_cache":"{$GLOBALS['config']['extra']['auto_cache']}","auto_make":"{$GLOBALS['config']['extra']['auto_make']}"};
  

    (function(){
        var wait = document.getElementById('wait'),
                href = document.getElementById('href').href;
        var interval = setInterval(function(){
            var time = --wait.innerHTML;
            if(time <= 0) {
                location.href = href;
                clearInterval(interval);
            };
        }, 1000);
    })();

  


 